import 'package:flutter/material.dart';
import 'package:video/common/values/colors.dart';
import 'package:video/common/values/values.dart';

///
/// 错误界面
///
class ErrorView extends StatelessWidget {
  const ErrorView({Key key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Center(
      child: Text(
        TITLE_ERRO,
        style: TextStyle(
          color: AppColors.primaryElementText,
          fontFamily: "Avenir",
          fontSize: 18,
        ),
      ),
    );
  }
}
